package com.example.event_resource_java.authority.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.event_resource_java.authority.dao.ErrorBookDO;
import com.example.event_resource_java.authority.dao.PaperDao.ItemBankDO;
import com.example.event_resource_java.commons.vo.ErrorBookVO.UserStatisticErrorBookVO;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ErrorBookMapper extends BaseMapper<ErrorBookDO> {
    List<UserStatisticErrorBookVO> userStatistic(Long userId);

    List<ItemBankDO> checkerAnswer(Integer topicType, Long userId);

    List<ItemBankDO> practice(Integer topicType, Long userId);
}
